<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<!DOCTYPE html>

<html>
    <head>
    <h2><center><FONT FACE="Times New Roman" SIZE=6 COLOR=#3B240B><b>Control de acceso</b></FONT></center></h2>
    <center>
        <form action="./LoginServlet" method="POST">
            <div style="width: 900px; height: 150px">
                <font FACE="Times New Roman" SIZE=5 color=#3B240B><b>Login: </b></font>
                <td><input type="text" name="Nombre" value="${Login.Nombre}" /></td>
                </tr>
                <tr>
                <font FACE="Times New Roman" SIZE=5 color=#3B240B><b>Password: </b></font>
                <td><input type="password" name="Password" value="${Login.Password}" /></td>
                </tr>
                <button><input type="submit" name="action" value="Enviar" /></button>	
                <style type = "text/css"> 
                    button { 
                        background: #3B240B; 
                        color: #EFFBF8; 
                        font-family: "Times New Roman"; 
                        size: 18;
                        border:10px;
                        width:20px;
                        height:10px;
                    } 
                </style>		

                <button> <input type="submit" name="action" value="Entrar como invitado" /></button>	
                <style type = "text/css"> 
                    button { 
                        background: #3B240B; 
                        color: #EFFBF8; 
                        font-family: "Times New Roman"; 
                        size: 50;
                        border:400px;
                        width:150px;
                        height:35px;
                    } 
                </style>
                
        </form> 
                
    </div>
                <h1><font color=red><b><c:out value="${mensajes}"/></b></font></h1>

</center>				
<style type="text/css"> 
    body{ 
        background-image: url(http://upload.wikimedia.org/wikipedia/en/d/d1/Masswelcomemat.jpg); 
        background-repeat : no-repeat; 
        background-attachment : fixed; 
        background-size: cover;
    } 
</style>
</head>
</html>
